<html><head><title>DisplayTransparentSprite</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">DisplayTransparentSprite()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>DisplayTransparentSprite</b></font>(#Sprite, x, y [, Intensity [, Color]])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Display the #Sprite at the specified position on the current screen. The default 
transparent color is 0 (black - this color will not be displayed). 
It's possible to change the transparent color with <a href="transparentspritecolor.html">TransparentSpriteColor()</a>. 
This function is clipped, so it's perfectly legal to display the sprite outside of the screen. 
The sprite has to be created with <font color="#924B72">#PB_Sprite_AlphaBlending</font> flag to use this command. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sprite</i></td>
<td width="90%"> 
The sprite to display. 

</td></tr>
<tr><td><i>x, y</i></td>
<td> 
The coordinate (in pixels) in the <a href="../screen/index.html">screen</a> where the sprite will be displayed. 

</td></tr>
<tr><td><i>Intensity (optional)</i></td>
<td> 
The intensity level used to display the sprite. Valid value are from 0 (fully transparent) 
to 255 (fully opaque). Default value is 255. 

</td></tr>
<tr><td><i>Color (optional)</i></td>
<td> 
The solid color used to display the sprite. The sprite will be rendered in only one color. 
To get a valid color, use <a href="../2ddrawing/rgb.html">RGB()</a>. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>See Also</b></p><blockquote>

<a href="displaysprite.html">DisplaySprite()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=displaysprite.html>DisplaySprite()</a> - <a href="index.html">Sprite Index</a> - <a href="freesprite.html">FreeSprite()</a> -><br><br>

</body></html>